package com.yunhe.common.model.data;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 充放电时长对象
 * @author  liuronglei
 */
public class StatusDuration {

    private Long energyUnitCode;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dtime;
    private Long chargeDuration;
    private Long dischargeDuration;

    public Long getEnergyUnitCode() {
        return energyUnitCode;
    }

    public void setEnergyUnitCode(Long energyUnitCode) {
        this.energyUnitCode = energyUnitCode;
    }

    public Date getDtime() {
        return dtime;
    }

    public void setDtime(Date dtime) {
        this.dtime = dtime;
    }

    public Long getChargeDuration() {
        return chargeDuration;
    }

    public void setChargeDuration(Long chargeDuration) {
        this.chargeDuration = chargeDuration;
    }

    public Long getDischargeDuration() {
        return dischargeDuration;
    }

    public void setDischargeDuration(Long dischargeDuration) {
        this.dischargeDuration = dischargeDuration;
    }
}
